<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<!--<script src="https://cdn.staticfile.net/jquery/1.10.2/jquery.min.js"></script>
<script>
    $(function (){
        $("#username").blur(function (){
            $.ajax({
                type:"POST",
                url:"/checkName",
                data:{"uname":$("#username").val()
                },
                success:function (result){
                    if(result == "true"){
                        $("#msg").html("用户名已经存在").css("color","red");
                        document.getElementById("submit").disabled="true";
                    }else{
                        $("#msg").html("可以使用").css("color","green");
                        document.getElementById("submit").removeAttribute("disabled");
                    }
                }
            });
        });
    })
</script>-->
<body>
<form action="/RegServlet" method="post">
    <input type="txet" name="uname" id="uname" placeholder="请输入注册账号"  autocomplete="off"><!--autocomplete关闭提示框-->
    <span id="msg"></span><br/>
    <input type="password" name="pword" id="pword" placeholder="请输入密码"><br/>
    <input type="submit" value="注册"><br/><!--id="submit" disabled="disabled"-->

</form>
</body>
</html>